{displaytemplate template='form' module='GuestBook' param=$form}
<p>&nbsp;</p>
{section name=post loop=$posts}
<div style="margin-left: {$posts[post].responseLevel*15}px;">
    <p>
        {if $posts[post].webpage != ''}<a href="{$posts[post].webpage}" rel="nofollow" target="_blank">{/if}{$posts[post].author}{if $posts[post].webpage != ''}</a>{/if}:
        <strong>{$posts[post].title}</strong>
        <a style="float: right" href="#" onclick="response({$posts[post].id}, '{$posts[post].title|escape:'quotes'}'); return false;">{$respond}</a>
    </p>
    {$posts[post].text}
</div>
{/section}
<p>&nbsp;</p>
{displaytemplate template='pages' module='GuestsBook' param=$paging}